 import { $dataMetaSchema } from 'ajv';
import './css/main.css';
 import {fillAry} from './fill.js';
 import getMax from './max.js';
 let {$} = layui;
 // 渲染数据到页面
 export function render(){
    let ary = fillAry(10);
    let max = getMax(ary);
    document.getElementById("maxNumber").innerHTML = `<button id="btn" type='button' class="layui-btn">OK</button>最大值为123123：` + max;
    $("#btn").click(function(){
        $.ajax({
            type:"get",
            url:"/api/students",
            success(res){
                console.log(res);
            }
        });
    })
   
}
// export {render}